find_library(GLIBC_LIB glib-2.0)
include_directories("/usr/include/glib-2.0")
add_library(kysdk-location SHARED libkylocation.c)
set_target_properties(kysdk-location PROPERTIES VERSION 2.0.0 SOVERSION 1)
target_link_libraries(kysdk-location -lglib-2.0 -lgio-2.0)
#add_executable(kylocation-test test/kylocation-test.c)
#target_link_libraries(kylocation-test kysdk-location)

install(TARGETS kysdk-location
        DESTINATION ${CMAKE_INSTALL_RPATH})

install(FILES libkylocation.h
        DESTINATION include/kysdk/kysdk-system)
